contract SumContract {

constructor() {

}

function add() public pure returns(uint){

uint var1 = 10;

uint var2 = 20;

uint sum = var1 + var2;

return sum;

}

}

A. The number of Ether remains the same, i.e., 100 Ethers as it’s

a demo account

B. The number of Ethers decrease every time

C. The number of Ethers would decrease only on the first

transaction and then would remain the same

D. The transaction can run maximum 5 times which is a restriction

in REMIX

Q13: What happens if the version is not mentioned in the following

Solidity file and it’s compiled, deployed, and run on the REMIX

browser in the JavaScript VM environment?

Contract NoVersionSample {

constructor() {

}

function sum() public pure returns(uint){

uint a = 1;

uint b = 2;

uint result = a + b;

return result;

}

}

A. The code does not compile

B. The code compiles but creates problems during deployment